package org.bangumibuddy.mock.utils;

import java.net.URISyntaxException;
import java.nio.file.Path;
import java.nio.file.Paths;

public class CommonUtils {
    public static Path getResourcePath(String path) throws URISyntaxException {
        return Paths.get(CommonUtils.class.getResource(path).toURI());
    }
}
